package dnuifood_cjy.dnuifood_16110100529.iface;


import dnuifood_cjy.dnuifood_16110100529.listener.OnRetrofitListener;

public interface UserIface {
   void login(String username, String userpass,
              OnRetrofitListener listener);

   void  register(String username,
                  String userpass,
                  String mobilenum,
                  String address,
                  String comment,
                  OnRetrofitListener listener);
   void getAllUserCollection(
           String user_id,
           String flag,
           OnRetrofitListener listener
   );
   void userCollectFood(
           String user_id,
           String food_id,
           OnRetrofitListener listener);

   void userCollectShop(
           String user_id,
           String shop_id,
           OnRetrofitListener listener);

}
